﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="FilStartUps_LatestArticles.ascx.cs"
    Inherits="FilStartUps.Controls.FilStartUps_LatestArticles" %>
    <%@ Import Namespace="FilStartUps.Helper" %>
   

<asp:Panel ID="pnlList" runat="server">
    <%--   <div id="sidebar_home">--%>
    <h2>
        Latest Articles <asp:ImageButton runat="server" ID="rssbtnarticles" OnClick="rssbtnarticles_Click" ImageUrl="../Content/images/feed-icon.png"/>
    </h2>
    <div class="lbe_box">
        <asp:DataList ID="dlFilStartUps_LatestArticles" runat="server" RepeatLayout="Table"
            RepeatColumns="1" OnItemCommand="dlFilStartUps_LatestArticles_ItemCommand">
            <HeaderTemplate>
            </HeaderTemplate>
            <ItemTemplate>
                <asp:Label ID="postidPK" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "postidPK") %>'
                    Visible="false">
                </asp:Label>
                <h3>
                    <asp:Label ID="posttitle" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "posttitle") %>'>
                    </asp:Label>
                </h3>
                <div style="padding: 0px 5px;" id="postdescription_style">
                    <p>
                        <asp:Literal ID="postdescription" runat="server" Text='<%# HtmlRemoval.StripTagsCharArray(Truncate(DataBinder.Eval(Container.DataItem, "postdescription").ToString())) %>'>
                        </asp:Literal></p>
                </div>              
                <asp:LinkButton runat="server"  CommandName="SelectRow" ID="filstartups_"  CssClass="more">More</asp:LinkButton>
            </ItemTemplate>
        </asp:DataList>
    </div>
    <!--end lbe_box -->
    <%--    </div>--%>
</asp:Panel>
